package com.net.shop.car.manager.api.volley.request;

import org.json.JSONException;
import org.json.JSONObject;

import com.net.shop.car.manager.api.volley.Request;
import com.net.shop.car.manager.utils.Constants;
import com.net.shop.car.manager.utils.LogUtils;

public class GetPayType extends Request {

	/**
	 * 
	 */
	private String memberId;
	
	public GetPayType(String memberId) {
		super(Constants.PAYTYPE);
		this.memberId = memberId;
	}

	@Override
	public void extensionJSON(JSONObject jsonObject) {
		try {
			jsonObject.put("memberid", memberId);
		} catch (JSONException e) {
			LogUtils.e(e.getMessage());
		}
	}

}
